package com.jy.wms.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.jy.wms.common.base.BaseModel;
import com.jy.wms.common.base.TimeGeneration;
import io.swagger.annotations.ApiModelProperty;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.util.List;

/**
    * WmsPurchaseOrder 实体类
    * Fri Sep 15 17:36:50 GMT+08:00 2017 lh
    */ 

@SuppressWarnings("serial")
@TableName("wms_purchase_order")
public class WmsPurchaseOrder extends BaseModel implements Serializable {
	@Excel(name = "仓库", mergeVertical = false,orderNum = "0")
	@TableField(exist=false)
	private String ssck;//仓库
	@Excel(name = "供应商名称", mergeVertical = false)
	@TableField(exist=false)
	@ApiModelProperty(value = "供应商名称$$$true$true$false$$13$vNull")
	private String gysmc;//供应商名称
	@Excel(name = "编号", mergeVertical = false,orderNum = "0")
	@ApiModelProperty(value = "编号$$$true$true$false$$4$vNull")
	private String bh; 	//编号
	@Excel(name = "订单类型", mergeVertical = false,orderNum = "0")
	@TableField(exist=false)
	private String ddlx; 	//订单类型
	@Excel(name = "订单状态", mergeVertical = false,orderNum = "0")
	@TableField(exist=false)
	private String show_zt;
	@Excel(name = "创建时间", mergeVertical = false)
	@ApiModelProperty(value = "创建时间$$$true$true$false$$7$vNull")
	private String cjsj; 	//创建时间

	@TableField(exist=false)
	private String hzmh;//客户编号
	@Excel(name = "客户名称", mergeVertical = false)
	@TableField(exist=false)
	private String hzmc;//客户名称
	@Excel(name = "审核状态", mergeVertical = false)
	@TableField(exist=false)
	private String show_shzt;
	@Excel(name = "预计到货时间", mergeVertical = false)
	@ApiModelProperty(value = "预计到货时间$$$true$false$false$$9$vNull")
	private String yjdhsj; 	//预计到货时间
	@Excel(name = "品项数", mergeVertical = false)
	@TableField(exist=false)
	private String pxs;//品项数
	@Excel(name = "总数量（主单位）", mergeVertical = false)
	@TableField(exist=false)
	private String zsl;//总数量
	@Excel(name = "总毛重", mergeVertical = false)
	@TableField(exist=false)
	private String zzl;//总毛重
	@Excel(name = "总净重", mergeVertical = false)
	@TableField(exist=false)
	private String zjz;//总净重
	@Excel(name = "总体积", mergeVertical = false)
	@TableField(exist=false)
	private String ztj;//总体积
	@Excel(name = "备注(表头)", mergeVertical = false)
	@ApiModelProperty(value = "备注$$$true$false$false$$11$")
	private String bz; 	//备注
	@Excel(name = "货品编号", mergeVertical = false)
	@TableField(exist=false)
	private String goodsBh;//货品编号
	@Excel(name = "货品名称", mergeVertical = false)
	@TableField(exist=false)
	private String goodsName;//货品名称
	@Excel(name = "包装名称", mergeVertical = false)
	@TableField(exist=false)
	private String bzmc;//包装名称

	@TableField(exist=false)
	private String zdw;//主单位(（0主单位 2,箱）)
	@Excel(name = "预收数量（主单位）", mergeVertical = false)
	@TableField(exist=false)
	private String sl;//预收数量（主单位）
	@Excel(name = "预期数量（箱单位）", mergeVertical = false)
	@TableField(exist=false)
	private String xdwsl;
	@Excel(name = "体积", mergeVertical = false)
	@TableField(exist=false)
	private String tj;//体积
	@Excel(name = "净重", mergeVertical = false)
	@TableField(exist=false)
	private String jz;//净重
	@Excel(name = "毛重", mergeVertical = false)
	@TableField(exist=false)
	private String zl;//毛重
	@Excel(name = "金额", mergeVertical = false)
	@TableField(exist=false)
	private double je;//金额



	@ApiModelProperty(value = "ID$$$false$false$false$$1$vNull")
	private String id; 	//ID
	@ApiModelProperty(value = "供应商ID$$$false$false$false$$2$vNull")
	private String gysid; 	//供应商ID
	@ApiModelProperty(value = "货主ID$$$false$false$false$$3$vNull")
	private String hzid; 	//货主ID

	@ApiModelProperty(value = "类型$$$true$false$false$$5$vNull")
	private String lx; 	//类型

	@ApiModelProperty(value = "状态 0初始 1部分收货 2完全收货 3订单取消 4订单完成$0$$true$true$true$wms_purchase_order_zt$6$vNull")
	private String zt; 	//状态 0初始 1部分收货 2完全收货 3订单取消 4订单完成


	@ApiModelProperty(value = "审核状态 0未审核 1已审核$0$$true$true$true$wms_purchase_order_shzt$8$vNull")

	private String shzt; 	//审核状态 0未审核 1已审核
	private double hgl;//合格率


	private String xgr;//xgr
	private String xgsj;//修改时间
	private String scr;//删除人
	private String scsj;//删除时间
	private String shwcr;//收货完成人
	private String shwcsj;//收货完成时间
	private String ddshr;//审核人
	private String shsj;//审核时间
	private String czr;//操作人
	private String czsj;//操作时间

	private Long locking;//乐观锁，预期到货通知单提取锁住操作




	@TableField(exist=false)
	private String zdsh;//自动审核
	@TableField(exist=false)
	@ApiModelProperty(value = "供应商编号$$$true$false$false$$12$vNull")
	private String gysbh;//供应商编号

	@TableField(exist=false)
	private String zqlx;//周期利息
	@TableField(exist=false)
	private String sshzid;//所属货主id
	@TableField(exist=false)
	private String goodsId;//货品id

	@TableField(exist=false)
	private String packId;//包装id



	@TableField(exist=false)
	private String cjsj_start;//创建开始时间
	@TableField(exist=false)
	private String cjsj_end;//创建结束时间
	@TableField(exist=false)
	private String show_lx;


	@TableField(exist=false)
	private String show_zdsh;//自动审核(0、不自动 1、自动)

	@TableField(exist=false)
	@ApiModelProperty(value = "联系人$$$true$false$false$$14$vNull")
	private String lxr;//联系人
	@TableField(exist=false)
	@ApiModelProperty(value = "详细地址$$$true$false$false$$15$vNull")
	private String xxdz;//详细地址
	@TableField(exist=false)
	@ApiModelProperty(value = "电话1$$$true$false$false$$16$vNull")
	private String dh1;//电话1
	@TableField(exist=false)
	@ApiModelProperty(value = "电话2$$$true$false$false$$17$vNull")
	private String dh2;//电话2
	@TableField(exist=false)
	@ApiModelProperty(value = "传真$$$true$false$false$$18$vNull")
	private String cz;//传真
	@TableField(exist=false)
	@ApiModelProperty(value = "城市$$$true$false$false$$19$vNull")
	private String cs;//城市
	@TableField(exist=false)
	@ApiModelProperty(value = "省$$$true$false$false$$20$vNull")
	private String sheng;//省
	@TableField(exist=false)
	@ApiModelProperty(value = "国家$$$true$false$false$$21$vNull")
	private String gj;//国家
	@TableField(exist=false)
	@ApiModelProperty(value = "邮编$$$true$false$false$$22$vNull")
	private String yb;//邮编

	@Excel(name = "主单位", mergeVertical = false)
	@TableField(exist=false)
	private String show_zdw;//主单位



	private String ckid;//仓库id
	private String cjr;//创建人

	@ApiModelProperty(value = "ERP创建时间$$$true$false$false$$23$vNull")
	private String erpcjsj;//ERP创建时间
	@TableField(exist=false)
	private List<WmsPurchaseOrderDetailed> wpodList;
	@TableField(exist=false)
	private String yxq;//2017-11-27新增字段“有效期”，确保getGoods查不出来数据有信息展示

	public String getSsck() {
		return ssck;
	}

	public void setSsck(String ssck) {
		this.ssck = ssck;
	}
	public String getGysmc() {
		return gysmc;
	}

	public void setGysmc(String gysmc) {
		this.gysmc = gysmc;
	}
	public void setBh(String bh){
		this.bh=bh;
	}
	public String getBh(){
		return bh;
	}

	public String getDdlx() {
		return ddlx;
	}

	public void setDdlx(String ddlx) {
		this.ddlx = ddlx;
	}
	public String getShow_zt() {
		return show_zt;
	}

	public void setShow_zt(String show_zt) {
		this.show_zt = show_zt;
	}
	public void setCjsj(String cjsj){
		this.cjsj=cjsj;
	}
	public String getCjsj(){
		return cjsj;
	}
	public String getHzmh() {
		return hzmh;
	}

	public void setHzmh(String hzmh) {
		this.hzmh = hzmh;
	}

	public String getHzmc() {
		return hzmc;
	}

	public void setHzmc(String hzmc) {
		this.hzmc = hzmc;
	}

	public String getShow_shzt() {
		return show_shzt;
	}

	public void setShow_shzt(String show_shzt) {
		this.show_shzt = show_shzt;
	}
	public void setYjdhsj(String yjdhsj){
		this.yjdhsj=yjdhsj;
	}
	public String getYjdhsj(){
		return yjdhsj;
	}
	public String getPxs() {
		return pxs;
	}
	public void setPxs(String pxs) {
		this.pxs = pxs;
	}
	public String getZsl() {
		return zsl;
	}
	public void setZsl(String zsl) {
		this.zsl = zsl;
	}
	public String getZzl() {
		return zzl;
	}
	public void setZzl(String zzl) {
		this.zzl = zzl;
	}
	public String getZjz() {
		return zjz;
	}

	public void setZjz(String zjz) {
		this.zjz = zjz;
	}
	public String getZtj() {
		return ztj;
	}

	public void setZtj(String ztj) {
		this.ztj = ztj;
	}
	public void setBz(String bz){
		this.bz=bz;
	}
	public String getBz(){
		return bz;
	}
	public String getGoodsBh() {
		return goodsBh;
	}

	public void setGoodsBh(String goodsBh) {
		this.goodsBh = goodsBh;
	}
	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public String getBzmc() {
		return bzmc;
	}

	public void setBzmc(String bzmc) {
		this.bzmc = bzmc;
	}
	public String getZdw() {
		return zdw;
	}

	public void setZdw(String zdw) {
		this.zdw = zdw;
	}
	public String getSl() {
		return sl;
	}

	public void setSl(String sl) {
		this.sl = sl;
	}
	public String getXdwsl() {
		return xdwsl;
	}

	public void setXdwsl(String xdwsl) {
		this.xdwsl = xdwsl;
	}
	public String getTj() {
		return tj;
	}

	public void setTj(String tj) {
		this.tj = tj;
	}
	public String getJz() {
		return jz;
	}

	public void setJz(String jz) {
		this.jz = jz;
	}

	public String getZl() {
		return zl;
	}

	public void setZl(String zl) {
		this.zl = zl;
	}
	public double getJe() {
		return je;
	}

	public void setJe(double je) {
		this.je = je;
	}





	public String getErpcjsj() {
		return erpcjsj;
	}

	public void setErpcjsj(String erpcjsj) {
		this.erpcjsj = erpcjsj;
	}

	public String getCjr() {
		return cjr;
	}

	public void setCjr(String cjr) {
		this.cjr = cjr;
	}

	public String getCkid() {
		return ckid;
	}

	public void setCkid(String ckid) {
		this.ckid = ckid;
	}

	public String getShow_zdw() {
		return show_zdw;
	}

	public void setShow_zdw(String show_zdw) {
		this.show_zdw = show_zdw;
	}

	public String getZdsh() {
		return zdsh;
	}

	public void setZdsh(String zdsh) {
		this.zdsh = zdsh;
	}

	public String getCzr() {
		return czr;
	}

	public void setCzr(String czr) {
		this.czr = czr;
	}

	public String getCzsj() {
		return czsj;
	}

	public void setCzsj(String czsj) {
		this.czsj = czsj;
	}

	public String getShow_zdsh() {
		return show_zdsh;
	}

	public void setShow_zdsh(String show_zdsh) {
		this.show_zdsh = show_zdsh;
	}

	public String getLxr() {
		return lxr;
	}

	public void setLxr(String lxr) {
		this.lxr = lxr;
	}

	public String getXxdz() {
		return xxdz;
	}

	public void setXxdz(String xxdz) {
		this.xxdz = xxdz;
	}

	public String getDh1() {
		return dh1;
	}

	public void setDh1(String dh1) {
		this.dh1 = dh1;
	}

	public String getDh2() {
		return dh2;
	}

	public void setDh2(String dh2) {
		this.dh2 = dh2;
	}

	public String getCz() {
		return cz;
	}

	public void setCz(String cz) {
		this.cz = cz;
	}

	public String getCs() {
		return cs;
	}

	public void setCs(String cs) {
		this.cs = cs;
	}

	public String getSheng() {
		return sheng;
	}

	public void setSheng(String sheng) {
		this.sheng = sheng;
	}

	public String getGj() {
		return gj;
	}

	public void setGj(String gj) {
		this.gj = gj;
	}

	public String getYb() {
		return yb;
	}

	public void setYb(String yb) {
		this.yb = yb;
	}

	public String getShow_lx() {
		return show_lx;
	}

	public void setShow_lx(String show_lx) {
		this.show_lx = show_lx;
	}

	public String getCjsj_start() {
		return cjsj_start;
	}

	public void setCjsj_start(String cjsj_start) {
		this.cjsj_start = TimeGeneration.startTime(cjsj_start);
	}

	public String getCjsj_end() {
		return cjsj_end;
	}

	public void setCjsj_end(String cjsj_end) {
		this.cjsj_end = TimeGeneration.endTime(cjsj_end);
	}



	public String getShwcsj() {
		return shwcsj;
	}

	public void setShwcsj(String shwcsj) {
		this.shwcsj = shwcsj;
	}

	public String getDdshr() {
		return ddshr;
	}

	public void setDdshr(String ddshr) {
		this.ddshr = ddshr;
	}

	public String getShsj() {
		return shsj;
	}

	public void setShsj(String shsj) {
		this.shsj = shsj;
	}

	public String getXgr() {
		return xgr;
	}

	public void setXgr(String xgr) {
		this.xgr = xgr;
	}

	public String getXgsj() {
		return xgsj;
	}

	public void setXgsj(String xgsj) {
		this.xgsj = xgsj;
	}

	public String getScr() {
		return scr;
	}

	public void setScr(String scr) {
		this.scr = scr;
	}

	public String getScsj() {
		return scsj;
	}

	public void setScsj(String scsj) {
		this.scsj = scsj;
	}

	public String getShwcr() {
		return shwcr;
	}

	public void setShwcr(String shwcr) {
		this.shwcr = shwcr;
	}

	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public String getSshzid() {
		return sshzid;
	}

	public void setSshzid(String sshzid) {
		this.sshzid = sshzid;
	}






	public String getPackId() {
		return packId;
	}

	public void setPackId(String packId) {
		this.packId = packId;
	}

	public String getGysbh() {
		return gysbh;
	}

	public void setGysbh(String gysbh) {
		this.gysbh = gysbh;
	}


	public void setId(String id){
		this.id=id;
	}
	public String getId(){
		return id;
	}
	public void setGysid(String gysid){
		this.gysid=gysid;
	}
	public String getGysid(){
		return gysid;
	}
	public void setHzid(String hzid){
		this.hzid=hzid;
	}
	public String getHzid(){
		return hzid;
	}

	public void setLx(String lx){
		this.lx=lx;
	}
	public String getLx(){
		return lx;
	}
	public void setZt(String zt){
		this.zt=zt;
	}
	public String getZt(){
		return zt;
	}


	public void setShzt(String shzt){
		this.shzt=shzt;
	}
	public String getShzt(){
		return shzt;
	}

	public List<WmsPurchaseOrderDetailed> getWpodList() {
		return wpodList;
	}

	public void setWpodList(List<WmsPurchaseOrderDetailed> wpodList) {
		this.wpodList = wpodList;
	}

	public Long getLocking() {
		return locking;
	}

	public void setLocking(Long locking) {
		this.locking = locking;
	}

	public String getYxq() {
		return yxq;
	}

	public void setYxq(String yxq) {
		this.yxq = yxq;
	}

	public double getHgl() {
		return hgl;
	}

	public void setHgl(double hgl) {
		this.hgl = hgl;
	}

	public String getZqlx() {
		return zqlx;
	}

	public void setZqlx(String zqlx) {
		this.zqlx = zqlx;
	}
}

